import { createPinia } from "pinia";

// 引入pinia持久化插件，并配置到pinia上去，别忘了yarn add pinia-plugin-persistedstate
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

export default pinia;
